package com.xgg.taiwuinfo.gongfa.baihua.jueji;

import com.xgg.taiwuinfo.R;
import com.xgg.taiwuinfo.gongfa.abilities.Ability_Huti_Counter;
import com.xgg.taiwuinfo.gongfa.abilities.Ability_YunGong_Defend;
import com.xgg.taiwuinfo.gongfa.base.Gongfa;
import com.xgg.taiwuinfo.gongfa.base.Gongfa_Jueji_Huti;
import com.xgg.taiwuinfo.gongfa.readingeffect.JuejiReading.Reading_IMMUNENEISHANG;
import com.xgg.taiwuinfo.gongfa.readingeffect.JuejiReading.Reading_INCREASEKNOCKNEISHANG;
import com.xgg.taiwuinfo.gongfa.readingeffect.Reading_Text;
import com.xgg.taiwuinfo.utils.Defend;
import com.xgg.taiwuinfo.utils.Element;
import com.xgg.taiwuinfo.utils.Inherit;
import com.xgg.taiwuinfo.utils.Requirement;

public class YinYangMaiNiZhuan extends Gongfa_Jueji_Huti {

    public YinYangMaiNiZhuan()
    {
        super("阴阳脉逆转", 5 , Element.ELEMENT_WATER, Inherit.INHERIT_BAIHUA , 30.0 , new int[]{6,0,60});
        mGridOccupy = 2;

        PushYunGongObject(Gongfa.ABL_INDEX_Xieli , 40);
        PushYunGongObject(Gongfa.ABL_INDEX_Chaizhao , 40);
        PushYunGongObject(Gongfa.ABL_INDEX_Shanbi , 40);
        PushYunGongObject(Gongfa.ABL_INDEX_QuDu , 40);
        InitYunGongAbility();

        ability_shizhan_defend = new Ability_YunGong_Defend(new int[]
                {
                        0 , 0 , 0 ,         //护体御气内息
                        0 , 0 , 0 ,         //发挥百分比
                        0 , 0 , 0 ,     //卸力拆招闪避
                        40 , 40 , 40 ,         //发挥百分比
                });

        ability_huti_counter = new Ability_Huti_Counter(
                Ability_Huti_Counter.TYPE_COUNTER , 2 , 4.5 ,
                Defend.DD_XIELI | Defend.DD_SHANBI | Defend.DD_CHAIZHAO,
                320 , 0 , 0);

        PosfullReading = new Reading_Text(R.string.reading_changedebuff_whencounter);
        NegfullReading = new Reading_Text(R.string.reading_changebuff_whencounter);

        mGongfaRequired[Requirement.GF_JJ] = 285;
        mAttrRequired[Requirement.ATTR_GG] = 70;
        mAttrRequired[Requirement.ATTR_WX] = 105;
        mAttrRequired[Requirement.ATTR_DL] = 70;
        mJiyiRequired[Requirement.JY_YS] = 345;
    }
}
